package com.tuozixuan.spring6.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.tuozixuan.spring6.dao.UserDao;
import com.tuozixuan.spring6.service.User3Service;

@Service
public class User3ServiceImpl implements User3Service {

	private UserDao userDao;
	
	@Autowired
	public User3ServiceImpl(UserDao userDao) {
		this.userDao = userDao;
	}

	public void out() {
		userDao.print();
		System.out.println("Service层执行结束");
	}

}
